package com.slt.android.hooklaunchtt;

import android.app.Application;

/**
 * Email 240336124@qq.com
 * Created by Darren on 2017/4/29.
 * Version 1.0
 * Description:
 */
public class BaseApplication extends Application {

    @Override
    public void onCreate() {
        super.onCreate();
        HookStartActivityUtil hookStartActivityUtil =
                new HookStartActivityUtil(this,ProxyActivity.class);
        try {
            hookStartActivityUtil.hookStartActivity();
            hookStartActivityUtil.hookLaunchActivity();
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
